<?

/**
 *  draws a standard hidden form field
 *
 */

function smarty_function_hidden( $params, $smarty ) {

	$smarty->depend( 'modifier', 'escape' );

	$name = smarty_modifier_escape( $params['name'] );
	$value = smarty_modifier_escape( $params['value'] );

	// draw the field
	echo '<input type="hidden" ' .
		'name="' . $name . '" ' .
		'value="' . $value . '" />';


}

?>